import { View, Text } from 'react-native';
import React from 'react';

import { $entry, $val, $ref } from '@jiess/plus';
import JiessEnv from '@jiess/plus/lib/envReact';
// 除了引入所需的组件，还需要手动引入组件样式

const jiess = $entry(JiessEnv,
	// 静态注入到jiess实例中
	{
		$defTag: View,
		useRef: React.useRef,
		useEffect: React.useEffect,
		useState: React.useState,
		useReducer: React.useReducer
	});

export const JiessComponent = jiess.JiessComponent;